package com.hnl.to;

import java.util.Date;

public class User {
	private Integer userID;
	private String firstname;
	private String lastname;
	private String email;
	private String password;
	private Date lastLoginDate;
	private Integer roleID;
	private Boolean isDelete;
	private Date createDate;
	private Integer createUserID;
	private Date modifyDate;
	private Integer modifyUserID;

	public User() {
		// empty constructor
	}

	public User(User user) {
		this.setUserID(user.getUserID());
		this.setFirstname(user.getFirstname());
		this.setLastname(user.getLastname());
		this.setEmail(user.getEmail());
		this.setPassword(user.getPassword());
		this.setLastLoginDate(user.getLastLoginDate());
		this.setRoleID(user.getRoleID());
		this.setIsDelete(user.getIsDelete());
		this.setCreateDate(user.getCreateDate());
		this.setCreateUserID(user.getCreateUserID());
		this.setModifyDate(user.getModifyDate());
		this.setModifyUserID(user.getModifyUserID());
	}

	public Integer getUserID() {
		return userID;
	}

	public void setUserID(Integer userID) {
		this.userID = userID;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public Integer getRoleID() {
		return roleID;
	}

	public void setRoleID(Integer roleID) {
		this.roleID = roleID;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getCreateUserID() {
		return createUserID;
	}

	public void setCreateUserID(Integer createUserID) {
		this.createUserID = createUserID;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getModifyUserID() {
		return modifyUserID;
	}

	public void setModifyUserID(Integer modifyUserID) {
		this.modifyUserID = modifyUserID;
	}

}
